home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / WinMerge 2.10.2 / WinMerge-2.10.2-Setup.exe / {app} / MergePlugins / editor addin.sct < prev    next >
Text File  |  2008-07-04  |  745b  |  37 lines

  1. <scriptlet>
  2.  
  3. <implements type="Automation" id="dispatcher">
  4.     <property name="PluginEvent">
  5.               <get/>
  6.         </property>
  7.     <property name="PluginDescription">
  8.               <get/>
  9.         </property>
  10.           <method name="MakeUpper"/>
  11.     <method name="MakeLower"/>
  12. </implements>
  13.  
  14. <script language="VBS">
  15. Option Explicit
  16.  
  17. Function get_PluginEvent()
  18.          get_PluginEvent = "EDITOR_SCRIPT"
  19. End Function
  20.  
  21. Function get_PluginDescription()
  22.          get_PluginDescription = "Basic text functions for the context menu"
  23. End Function
  24.  
  25.  
  26. ' transformation functions
  27. Function MakeUpper(Text)
  28.     MakeUpper = UCase(Text)
  29. End Function
  30.  
  31. Function MakeLower(Text)
  32.     MakeLower = LCase(Text)
  33. End Function
  34.  
  35. </script>
  36. </scriptlet>
  37.